/*
*CardManager.fx
*
*Created on Mar 29, 2011, 22:44:17 PM
*/

package game.controller;
import game.object.Card;

public class CardManager
{
}

// size 6+6+9 = 21
var cardLabelList:String[] = 
[
	"MissScarlet",
	"ColonelMustard",
	"MrsWhite",
	"MrGreen",
	"MrsPeacock",
	"ProfessorPlum",
	
	"Candlestick",
	"Knife",
	"Lead Pipe",
	"Revolver",
	"Rope",
	"Wrench",
	
	"Kitchen",
	"Ballroom",
	"Conservatory",
	"DiningRoom",
	"BilliardRoom",
	"Library",
	"Lounge",
	"Hall",
	"Study"
];


public function newCardList():Card[]
{
    var cardList:Card[];
    for (i in [0..cardLabelList.size()])
    {
        var c:Card = new Card;
        c.label = cardLabelList[i];
        insert c into cardList;
    }
    return cardList;
}